package com.huqing.icu.dto;

import com.huqing.icu.model.Comment;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * @Description 评论dto
 * @Author huqing
 * @Date 2025/1/15 16:04
 **/
@Data
public class CommentDto extends Comment {

    @Schema(name = "replyUserNickname", description = "回复人的用户昵称")
    private String replyUserNickname;

    @Schema(name = "isAuthor", description = "是不是作者，0-否 1-是")
    private Integer isAuthor;

    @Schema(name = "isMy", description = "是不是我的，0-否 1-是")
    private Integer isMy;

    @Schema(name = "subCommentList", description = "子评论列表")
    private List<CommentDto> subCommentList;
}
